package com.dangdang.domain;

import java.io.Serializable;

/**
 * 图书实体类
 * 
 * @author Wangpeihu
 * @team [Never give up]
 * @since JDK1.6(建议)
 * @date 2010-1-18
 */

public class Book extends Product implements Serializable {

	private static final long serialVersionUID = 1L;

	/** 标识ID */
	private Integer id;

	/** 图书作者 */
	private String author;

	/** 出版社 */
	private String publisher;

	/** 出版时间 */
	private String publishTime;

	/** 字数 */
	private String wordNumber;

	/** 版 本 */
	private String whichEdition;

	/** 总页数 */
	private String totalPage;

	/** 印刷时间 */
	private String printTime;

	/** 印次 */
	private String printNumber;

	/** ISBN 号 */
	private String isbn;

	// Constructors

	/** default constructor */
	public Book() {
	}

	/** minimal constructor */
	public Book(String author, String publisher, String publishTime) {
		this.author = author;
		this.publisher = publisher;
		this.publishTime = publishTime;
	}

	/** full constructor */
	public Book(String author, String publisher, String publishTime,
			String wordNumber, String whichEdition, String totalPage,
			String printTime, String printNumber, String isbn) {
		this.author = author;
		this.publisher = publisher;
		this.publishTime = publishTime;
		this.wordNumber = wordNumber;
		this.whichEdition = whichEdition;
		this.totalPage = totalPage;
		this.printTime = printTime;
		this.printNumber = printNumber;
		this.isbn = isbn;
	}

	// Property accessors

	@Override
	public Integer getId() {
		return this.id;
	}

	@Override
	public void setId(Integer id) {
		this.id = id;
	}

	public String getAuthor() {
		return this.author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getPublisher() {
		return this.publisher;
	}

	public void setPublisher(String publisher) {
		this.publisher = publisher;
	}

	public String getPublishTime() {
		return this.publishTime;
	}

	public void setPublishTime(String publishTime) {
		this.publishTime = publishTime;
	}

	public String getWordNumber() {
		return this.wordNumber;
	}

	public void setWordNumber(String wordNumber) {
		this.wordNumber = wordNumber;
	}

	public String getWhichEdition() {
		return this.whichEdition;
	}

	public void setWhichEdition(String whichEdition) {
		this.whichEdition = whichEdition;
	}

	public String getTotalPage() {
		return this.totalPage;
	}

	public void setTotalPage(String totalPage) {
		this.totalPage = totalPage;
	}

	public String getPrintTime() {
		return this.printTime;
	}

	public void setPrintTime(String printTime) {
		this.printTime = printTime;
	}

	public String getPrintNumber() {
		return this.printNumber;
	}

	public void setPrintNumber(String printNumber) {
		this.printNumber = printNumber;
	}

	public String getIsbn() {
		return this.isbn;
	}

	public void setIsbn(String isbn) {
		this.isbn = isbn;
	}

}